<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<script type="text/javascript" src="../js/jquery-1.11.1.min.js"></script>
<script src="../js/echarts.js"></script>
<link href="../js/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- 可选的Bootstrap主题文件（一般不使用） -->
<!-- <script src="../js/bootstrap/css/bootstrap-theme.min.css"></script> -->
<link rel="stylesheet" type="text/css" href="../mycss/style.css" />
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="../js/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../laypage/laypage.js"></script>
<script type="text/javascript" src="../js/vue.js"></script>
<script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
<!--以下为饼状图的主题js文件 -->

<title>Insert title here</title>
</head>
<body id="tablePage">
<!------------------------------------------------------部门销售金额列表模态框-------------------------------------------------------------- -->
	<div class="modal fade" id="salesDeptAnalModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
	  <div class="modal-dialog" role="document">
	    <div class="modal-content">
	      <div class="modal-header">
	        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	        <h4 class="modal-title" id="myModalLabel">部门月销售金额列表</h4>
	      </div>
	      <div class="modal-body">
	          <div id="salesAnalList" style="width:800px;height:250px">
		          <div class="btnChange">
			       
				    <span style="display:inline">部门销售金额分析信息列表</span>
				    
				    <input class="btn  btn-success btn-xs "  id="find_btn" type="button"  style="margin-left:170px;width:50px" value="导出" onclick="javascrtpt:jump()">
				    <input class="btn  btn-success btn-xs  find_btn"  type="button" style="margin-left:30px;width:50px" value="返回" >
			      </div>
         <br>
	      <div class="tableDiv">
		    <form action="" >
		      <table id="conTable" class="table table-bordered" style="width:530px">
		        <thead>
			      <tr class="info"><td></td><td></td><td>部门</td><td>销售金额(单位:万元)</td><td>同比</td><td>环比</td></tr>
	            </thead>
	            <tbody id="salesdeptanal">
			      <tr class="active" v-for="hsdp in home">
			        <td></td>
			        <td><input type="radio" class="check_item"  name="ss" :value="hsdp.salesMonthAnalId"/></td>
			        <td>{{hsdp.deptName}}</td>
			        <td>{{hsdp.salesMoney}}</td>
			        <td>{{hsdp.an}}</td>
			        <td>{{hsdp.mom}}</td>
			      </tr>	   
			      <tr>
			        <td id="fy" colspan="6"></td>
			      </tr>
		        </tbody>	 
		      </table>	
	        </form>	    
	      </div>
	      </div>
	      <div id="pieChart" style="height:400px;width:550px" >
          </div>	                                                                                                           
	      </div>
	      <div class="modal-footer">
	        <button type="button" class="btn btn-default btn_deptSalesPercent" data-dismiss="modal" >关闭</button>
	       
	      </div>
	    </div>
	  </div>
	</div>	     



<!------------------------------------------------------月销售金额展示页面-------------------------------------------------------------- -->
 <div >	
		<blockquote>
			<p class="twoType">销售分析</p>
		</blockquote> 	
		<hr/>
<div class="btnChange">
	    <span>月份:</span>
	     <input type="text" name="month" id="preMonth" onfocus="WdatePicker({dateFmt:'yyyy-MM'})" class="Wdate" style="width:160px;height:25px;border-radius:5px" placeholder="请选择年月"/>	
		<input class="btn  btn-default btn-xs " type="button" value="查询" onclick="findSalesAnalByMonth()"/>&nbsp;&nbsp;<br><br>
		<span>月销售分析信息列表</span>
		<input class="btn  btn-success btn-xs  find_btn"  type="button" style="margin-left:450px;width:50px" value="查看" >
	</div>
	<br>
	<div class="tableDiv">
		<div style="height:230px;">
		<form action="" >
		<table id="conTable" class="table table-bordered">
		  <thead>
			<tr class="info"><td></td><td></td><td>销售金额(单位:万元)</td><td>月份</td><td>同比</td><td>环比</td></tr>
	      </thead>
	      <tbody id="salesanal">
			<tr class="active" v-for="hsa in home">
			     <td></td>
			     <td><input type="radio" class="check_item"  name="ss" :value="hsa.salesAnalysisId"/></td>
			     <td>{{hsa.salesMoney}}</td>
			     <td>{{hsa.month}}</td>
			     <td>{{hsa.an}}</td>
			     <td>{{hsa.mom}}</td>  
			</tr>
			<tr>
			  <td id="clear" colspan="6"></td>
			</tr>
		 </tbody>		 
		</table>		
	</form>	
	</div>

	</div>	

   
</div>

<script type="text/javascript" src="../js/salesanal.js"></script>
</body>
</html>